package com.cjg.javaBasics;

public class Change {
    public static void main(String[] args) {
        Change change = new Change();
        change.test(1,2,3,3);
    }
    //只能放在最后
    public void  test(int c,int ... a){
        System.out.println(c);
        for (int i = 0; i <a.length ; i++) {
            System.out.println(a[i]);
        }

    }
}
